package com.xiaomi.shwx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaomi.shwx.entity.pojo.WorkOrder;
import com.xiaomi.shwx.entity.vo.WorkOrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 工单 Mapper 接口
 * </p>
 *
 * @author Lei
 * @since 2024-05-15
 */
public interface WorkOrderMapper extends BaseMapper<WorkOrder> {

    List<WorkOrderVO> getClientOrderList(@Param("clientId") String clientId);

    List<WorkOrderVO> getEngineerOrderList(@Param("engineerId") String engineerId);

    List<WorkOrderVO> getInitialOrderList();
}
